package cn.gxa.j229.bug.finance.pojo;

import java.io.Serializable;

public class Category implements Serializable {
    private Integer id;

    private String cname;

    private Integer sort;

    private Integer cstate;

    public Category(Integer id, String cname, Integer sort, Integer cstate) {
        this.id = id;
        this.cname = cname;
        this.sort = sort;
        this.cstate = cstate;
    }

    public Category() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname == null ? null : cname.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getCstate() {
        return cstate;
    }

    public void setCstate(Integer cstate) {
        this.cstate = cstate;
    }
}